<%@ page contentType="text/html;charset=UTF-8" %> 
<%@ include file="/include.inc.jsp"%>


<div class="pageContent">
<form method="post" id="sysDeskForm" action="${ctx}/sysDesk/save" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
    <input type="hidden" name="id" value="${sysDesk.id}"/>
    <div class="panelBar">
        <ul class="toolBar">
            <shiro:hasPermission name="sysDesk:edit">
            <li><a class="save" href="#" onclick="hrefSave_OnClick('sysDeskForm')"><span>保存</span></a></li>
            </shiro:hasPermission>
            <li>
            <a class="ret" href="#" onclick="hrefRet_OnClick('${ctx}/sysDesk/list')"><span>返回</span></a>
            </li>
        </ul>
    </div>
    <div class="pageFormContent" layoutH="56">
		<dl>
			<dt>项目名称：</dt>
			<dd>
				<input type="text" name="titleName" value="${sysDesk.titleName}" maxlength="20" class="required"/>
			</dd>
		</dl>
		<dl>
			<dt>标题URL：</dt>
			<dd>
				<input type="text" name="titleUrl" value="${sysDesk.titleUrl}" maxlength="20" class="required"/>
			</dd>
		</dl>
		<dl>
			<dt>内容URL：</dt>
			<dd>
				<input type="text" name="linkUrl" value="${sysDesk.linkUrl}" maxlength="20" class="required"/>
			</dd>
		</dl>
		<dl>
			<dt>状态：</dt>
			<dd>
				<input type="radio" name="states" ${sysDesk.states eq "0" ? 'checked="checked"' : ''} value="0"/>启用
				<input type="radio" name="states" ${sysDesk.states eq "1" ? 'checked="checked"' : ''} value="1"/>禁用
			</dd>
		</dl>
		<dl>
			<dt>显示顺序：</dt>
			<dd>
				<input type="text" name="showOrder" value="${sysDesk.showOrder}" maxlength="20" class="required"/>
			</dd>
		</dl>
    </div>
</form>
</div>